#ifndef VCHARACTER_H
#define VCHARACTER_H

#include <QWidget>
#include <QLabel>
#include <QPixmap>
#include <QPushButton>
#include <QString>
#include <QVBoxLayout>

#include "../Models/MCharacter.h"
#include "../Models/MStaticData.h"
#include "../Controlers/CDesign.h"
#include "../Controlers/CTcpNetwork.h"
#include "../Controlers/CUdpNetwork.h"

class VCharacter : public QWidget
{
    Q_OBJECT
private:
    QLabel *label_pict;
    QLabel *label_bonus;
    QLabel *label_desc;
    QPixmap *picture;
    QPushButton *button;
    QVBoxLayout *layoutp;

    MCharacter *character;

public:
    VCharacter();
    ~VCharacter();
    
signals:
    
public slots:
    void set(QString bonus, QString exp, QString level, QString map_name);
    void set(MCharacter *m_character);
    QPushButton* get_button();
    void select();
};

#endif // VCHARACTER_H
